package com.lg.erp.entity.zhangchaofu;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.sql.Date;
import java.util.List;


@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_io_warehouse")
public class CTIoWarehouse implements Serializable {

  @TableId(type = IdType.ASSIGN_UUID)
  private String id;
  private String ioNo;
  private String ioType;
  private Long batch;
  private String pName;
  private Long pNum;
  private String wName;

  private java.sql.Date ioTime;
  private String companyId;

  @TableField(select = false,exist = false)
  private List<CTIomWarehouse> iomWarehouses;
}
